USE [EMODE];

-- Aggregate tables --
 
IF OBJECT_ID('AGG_YR_QT_MT_MN_WK_RG_CY_SN_SR_QT_MA', 'U') IS NOT NULL
	DROP TABLE [dbo].[AGG_YR_QT_MT_MN_WK_RG_CY_SN_SR_QT_MA];

IF OBJECT_ID('AGG_YR_QT_M_ST_LN_CA_SR', 'U') IS NOT NULL
	DROP TABLE [dbo].[AGG_YR_QT_M_ST_LN_CA_SR];